package com.tenement.controller.backend;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 找房网站后台页面
 * 
 * @author wk
 *
 */
@Controller
public class BackHomeController {

	private static final Log logger = LogFactory.getLog(BackHomeController.class);

	/**
	 * 页面跳转到后台主页
	 * 
	 * @return
	 */
	@RequestMapping(value = "/toBackHomePage.action")
	public String toBackHomePage() {
		logger.info("【-进入后台主页-】");
		return "view/backend_system/index";
	}
	
	/**
	 * 后台管理系统默认显示页面
	 * @return
	 */
	@RequestMapping(value = "/toDefaultHtml.action")
	public String toDefaultHtml() {
		return "view/backend_system/default";
	}

	/**
	 * 进入管理员个人中心页面
	 * 
	 * @param request
	 * @return
	 */
	@RequestMapping(value = "toAdminPersonHtml.action")
	public String toAdminPersonHtml(HttpServletRequest request) {
		return "view/backend_system/admin_personal";
	}

}
